package com.bdqn.appjob.service.backend;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.bdqn.appjob.dao.backend.BackAppVersionMapper;
import com.bdqn.appjob.entity.AppVersion;

@Service
public class BackAppVersionServiceImpl implements BackAppVersionService {
	@Resource
	private BackAppVersionMapper backappVersionMapper;

	@Override
	public AppVersion getVersionId(Integer id) {
		AppVersion appVer = null;
		try {
			appVer = backappVersionMapper.getVersionId(id);
		} catch (Exception e) {
			e.printStackTrace();
		}
		return appVer;
	}

}
